package designpattern.single.StaticInsideClass;

public class StaticInsideClassSingleton {
    private static class SingleHolder{
        private static final StaticInsideClassSingleton INSTANCE = new StaticInsideClassSingleton();
    }
    private StaticInsideClassSingleton(){}
    public static StaticInsideClassSingleton getInstance(){
        return SingleHolder.INSTANCE;
    }
}
